<?php
class TestQuestion extends CWidget {
	public $question;
    public $psytestForm;
	
	public function init() {
        $this->psytestForm = new PsytestForm;
	}
	
	public function run() {
		$this->renderContent();
	}

	public function renderContent() {
		return $this->render('test-question', array('question' => $this->question, 'psytestForm' => $this->psytestForm));
	}
}
